package com.starsray.dynamic.ds.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * ds加密机配置
 *
 * @author starsray
 * @date 2023/02/25
 */
@Configuration
@ConfigurationProperties(prefix = "jasypt.encryptor")
@Setter
@Getter
public class DsEncryptorConfig {
    /**
     * 算法
     */
    private String algorithm;
    /**
     * 第四生成器类名
     */
    private String ivGeneratorClassname;
    /**
     * 密码
     */
    private String password;
    /**
     * 引导
     */
    private boolean bootstrap = true;
}
